<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Welcome</title>
</head>
<body>
Welcome, <c:out value="${user.login}"/>!!!<br/>


Choose shopping list:
<form action="/familyconnector/foodstuffs.htm">
	<c:forEach items="${foodstuffLists}" var="foodstuffList">
		<input type="radio" name="foodstuffLists" value="${foodstuffList.id}">${foodstuffList.listTitle}<br/>
	</c:forEach>
	<input type="submit" value="Show list"/>
	<span style="visibility:hidden"><input type="radio" name="action" value="showList" checked="true"/></span><br/>
</form>
<hr/>

<form action="/familyconnector/foodstuffs.htm">
	<h2>Cache checking</h2>
	Number of extracted lists: <input type="text" name="numberOfObjects" value="100"/><br/>
	Cache 1st level size: <input type="text" name="cache1LevelSize" value="10"/><br/>
	Cache 2nd level size: <input type="text" name="cache2LevelSize" value="10"/><br/>
	Type of cache:<br/>
	<input type="radio" name="cacheType" value="hibernate" checked>Without cache using<br/>
	<input type="radio" name="cacheType" value="LRU">Least Recently Used Strategy<br/>
	<input type="radio" name="cacheType" value="LFU">Least Frequently Used Strategy<br/>
	<input type="submit" value="Check cache"><br/>
	<span style="visibility:hidden"><input type="radio" name="action" value="checkCache" checked="true"/></span>
</form>
</body>
</html>